<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*去掉标签默认带着的padding和margin*/
        *{
            margin: 0;
            padding: 0;
        }
        div{
            width: 100px;
            height: 100px;
            background-color: red;
            border: 2px dotted blue;
            border-right: 10px solid yellow;
            padding: 10px;
            margin: 10px;
            margin-left: 100px;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>